﻿@{      
    Layout = "../Shared/_Default.cshtml";
    ViewBag.PageTitle = T(Res.Name("Title"),
        JDM.Int32(Model.EntityID),
        JDM.Guid(Model.Guid));
}

@section Sidebar
{
    @{
        Html.RenderAction(Loc.Act("_Overview").Ctrl("Invoice").Set(new
        {
            id = JDM.Int32(Model.Invoice.EntityID)
        }).Localized());
    }
}
@{
    Html.RenderPartial("_Overview");
    Html.RenderPartial((string)String.Format("_pm_{0}", JDM.Guid(Model.ProcessorID)), 
        (object)Model, 
        new ViewDataDictionary
        {
            {"Mode", "Process"}
        });
}